Skip to content

changed: D0 length does not change anymore with mhe.direct#359

Merged
franckgaga merged 4 commits into
mainfrom
mhe_D_cst_length
May 15, 2026
Merged

changed: D0 length does not change anymore with mhe.direct#359
franckgaga merged 4 commits into
mainfrom
mhe_D_cst_length

Conversation

@franckgaga
Copy link
Copy Markdown
Member

@franckgaga franckgaga commented May 15, 2026

For the MHE, the measured disturbance vector $\mathbf{D_0}$ will always include one additional data point compared to the other data windows, both with $p=0$ and $p=1$ cases. The time step of the first data point is $k-N_k$ and the last data point is $k$, for a total of $N_k+1$ data points. I just ignore the first data point with $p=1$.

Before this PR, the case with $p=0$ included one additional data point but not $p=1$, which is overly complex for the user and the maintenance of the code. It will clarify the length of the arguments of the nonlinear custom inequality constraint function for the MHE, which is an upcoming feature.

The vector will always include one additionnal data point compared to the other data windows.
@franckgaga franckgaga changed the title changed: D0 length does not change with mhe.direct changed: D0 length does not change anymore with mhe.direct May 15, 2026
@franckgaga franckgaga merged commit d1ccc9a into main May 15, 2026
5 checks passed
@franckgaga franckgaga deleted the mhe_D_cst_length branch May 15, 2026 20:56
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.55%. Comparing base (0dc72a0) to head (4631d6d).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #359      +/-   ##
==========================================
- Coverage   98.55%   98.55%   -0.01%     
==========================================
  Files          27       27              
  Lines        5250     5245       -5     
==========================================
- Hits         5174     5169       -5     
  Misses         76       76              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants